<%@ include file="common.jspf"%>

<form:form modelAttribute="note" method="post">
	<form:hidden path="noteNO" />
	<fieldset>
		<legend>Note Modify</legend>
		<p>
			<form:errors path="*" />
		</p>
		<p>
			<span>
				<form:label path="category.categoryNO">Category</form:label>
				<form:select path="category.categoryNO">
					<form:options items="${categoryList}" itemValue="categoryNO" itemLabel="name"/>
				</form:select>
				<form:errors path="category.categoryNO" />
			</span>
			<span>
				<form:label path="subject">
					<fmt:message key="note.subject" />
				</form:label>
				<form:input path="subject" />
				<form:errors path="subject" />
			</span>
		</p>
		<p>
			<form:label path="content">Content</form:label>
			<form:textarea path="content" rows="20" cssStyle="width:98%;"/>
			<form:errors path="content" />
		</p>
		<p>
			<input type="submit" />
		</p>
	</fieldset>
</form:form>